*** Paper: 			Does The World Trade Organization Enable Biosecurity and Trade for Importers and Exporters?
*** Authors: Linda Fernandez and Monica Das
*** Date:    		November 9, 2023
*** Last updated:   February 21, 2024
*** Description:	STATA codes for Table 10 in the paper

******************************************************
********** Table 10                ****
*******************************************************
///Download STATA file "wd.dta" from the Harvard Dataverse  
///Change directory to appropriate folder
//import STATA dataset "wd.dta" 
use "wd.dta", clear


gen TAComm = f.TACommlag

sort year ccode
keep if year == 1994 | year == 1995

gen treatment = 0
replace treatment = 1 if year == 1995


gen TA = 0 
replace TA = 1 if TAComm >0 & TAComm != .

tsset ccode year

asdoc xtreg ManuExport treatment TA AgrExport lnRGDP, fe nest save(table counterfactual) fs(8) dec(2) replace 

